﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataChangeTools.WebApi.IRepository.IRepositorys
{
    public interface IFileRepository
    {
        string UploadFile(List<IFormFile> files, string subDirectory);
        Task<string> UploadFile2(List<IFormFile> files, string subDirectory);
        (string fileType, byte[] archiveData, string archiveName) DownloadFiles(string subDirectory);
        string SizeConverter(long bytes);

        string GetVersion(string path);
    }
}
